package com.ghq.service;

import com.ghq.pojo.Drugs;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DrugsService {
    List<Drugs> getAllDrugs();

    void deleteDrug(Integer id);

    Drugs getDrugById(Integer id);

    void addDrug(Drugs drugs);

    void updateDrug(Drugs drugs);

    List<Drugs> getDrugByNameAndCategory(String name, String category);

    void deleteDrugs(List<Integer> ids);
}
